<template>
    <div>
        <div v-if="!$store.state.isMobileAndPc">
            <BovineVision v-if="solutionType == 1"></BovineVision>
            <DigitalMan v-if="solutionType == 2"></DigitalMan>
            <DigitalEmployee v-if="solutionType == 3"></DigitalEmployee>
        </div>
        <div v-else>
            <BovineVisionMobile v-if="solutionType == 1"></BovineVisionMobile>
            <DigitalManMobile v-if="solutionType == 2"></DigitalManMobile>
            <DigitalEmployeeMobile v-if="solutionType == 3"></DigitalEmployeeMobile>
        </div>
    </div> 
</template>
<script>
import BovineVision from './bovineVision.vue'
import DigitalMan from './digitalMan.vue'
import DigitalEmployee from './digitalEmployee.vue'

import BovineVisionMobile from './bovineVisionMobile.vue'
import DigitalManMobile from './digitalManMobile.vue'
import DigitalEmployeeMobile from './digitalEmployeeMobile.vue'
export default {
    components:{BovineVision,DigitalMan,DigitalEmployee,BovineVisionMobile,DigitalManMobile,DigitalEmployeeMobile},
    metaInfo: {
        title: '解决方案',
        link: [
            {
            rel: 'baidu',
            href: 'https://www.baidu.com/'
            },
        ],
    },
    computed:{
        solutionType(){
            return this.$store.state.solutionType;
        }
    }
}
</script>
